package com.gxa.p2p.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

/**
 * @author xiangzuo
 * 借款用户
 */
@Data
@AllArgsConstructor
@NoArgsConstructor


public class Borrowuser implements Serializable {
  @ApiModelProperty(name = "id",value = "用户id")
  private Long id;
  @ApiModelProperty(name = "phone",value = "手机号")
  private String phone;
  @ApiModelProperty(name = "userType",value = "用户类型")
  private String userType;
  @ApiModelProperty(name = "companyName",value = "企业名称")
  private String companyName;
  @ApiModelProperty(name = "legalName",value = "法人名称")
  private String legalName;
  @ApiModelProperty(name = "taxNumber",value = "税务登记证号")
  private String taxNumber;
  @ApiModelProperty(name = "email",value = "邮箱")
  private String email;
  @ApiModelProperty(name = "loginPwd",value = "登录密码")
  @JsonIgnore
  private  String loginPwd;
  @ApiModelProperty(name = "dealPwd",value = "交易密码")
  @JsonIgnore
  private String dealPwd;
  @ApiModelProperty(name = "lockState",value = "锁定状态")
  private Boolean lockState;
  @ApiModelProperty(name = "regTime",value = "注册时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date regTime;
  @ApiModelProperty(name = "loginTime",value = "最近登录时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Date loginTime;
  @ApiModelProperty(name = "from",value = "用户来源")
  private String from;
  @ApiModelProperty(name = "remarks",value = "备注")
  private String remarks;
  @ApiModelProperty(name = "allMoney",value = "总资产")
  private Double allMoney;
  @ApiModelProperty(name = "frozenMoney",value = "冻结资金")
  private Double frozenMoney;

}
